using System;
using System.Data;

namespace GoodsInvoicing.Model.Menu
{
    /// <summary>
    /// 表[GI_Menu]的实体类
    /// </summary>
    public class GI_Menu
    {
        public GI_Menu() { }

        #region 表字段属性
        public virtual Int32 MenuID { get; set; }

        public virtual string MenuName { get; set; }

        public virtual string MenuType { get; set; }

        public virtual Int32 MenuSequence { get; set; }

        public virtual Int32 ParentID { get; set; }

        public virtual string MenuModule { get; set; }

        #endregion



        #region 方法
        public virtual bool Equals(GI_Menu other) 
        {
            if (other == null)
            {
                return false;
            }
            return (MenuID == other.MenuID && MenuName == other.MenuName);
        }


        #endregion
    }
}
